﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.Core;

namespace FantastPlatform.Framework.IModel
{
    /// <summary>
    /// 权限许可
    /// </summary>
    public interface IPermission : IItem
    {
        /// <summary>
        /// 权限资源
        /// </summary>
        IResource Resource { get; set; }
        /// <summary>
        /// 权限行为
        /// </summary>
        IOperation Operation { get; set; }
        /// <summary>
        /// 角色列表
        /// </summary>
        IList<IRole> Roles { get; set; }
    }
}
